package cn.ubeta.b2c.bean;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by denny on 16/9/6.
 */

public class CouponInfo extends ApiResp {

    /**
     * type : 0
     * title : 标题
     * desc : 描述
     */

    private int type;
    private String title;
    private String desc;

    public static List<CouponInfo> getTestData() {
        List<CouponInfo> data = new ArrayList<>();
        for (int i = 0; i < 12; ++i) {
            CouponInfo info = new CouponInfo();
            info.title = "标题" + i;
            info.desc = "描述" + i;
            data.add(info);
        }
        return data;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
